﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity.Page
{
    /// <summary>
    /// 界面UI Dom结构
    /// </summary>
    [DataContract]
    [Serializable]
    public class PageUIDom :ICloneable
    {
        /// <summary>
        /// 控件集合
        /// </summary>
        [DataMember(Name = "Controls")]
        public List<PageUIControl> Controls { get; set; } = new List<PageUIControl>();       

        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }
}
